package net.lab1024.sa.base.common.service;


import net.lab1024.sa.base.common.domain.WorkFlowBusinessBo;

import java.util.Map;

public interface WorkFlowCommonService<T>  {

    Object save( T bo);

    Object update(T t);

    Object commit(WorkFlowBusinessBo bo, T t);

    <E> E get(Long id);

    <E> E getByInsId(String id);

    Boolean delete(Long id);





}
